package vshevchuk;

public class star {
	
	int[] h;
	

	 Integer s1=50;;
	 Integer s2 =50;
	
	
	
	void add(int i){
	
	}
	
	public void  square () {
		for (int i=0; i<7; i++) {
			for (int j=0; j<7; j++)
				if ((i==0) || (i==6)|| (j==0) || (j==6))  System.out.print("*") ;
					else System.out.print(" ") ;
			System.out.println();
		}
	}
		
	public void  triangle1 () {
				
		for (int i=0; i<7; i++) {
			for (int j=0; j<7; j++)
			if ((i==0) || (j==0) || (j==7-i-1)) System.out.print("*");
			else System.out.print(" ");
			System.out.println();
		}
		
	}
	
	public void  triangle2 () {
		
		for (int i=0; i<7; i++) {
			for (int j=0; j<7; j++)
				if ((i==6) || (j==0) || (j==i)) System.out.print("*");
				else System.out.print(" ");
			System.out.println();
		}
	}
		
	public void  triangle3 () {
			
		for (int i=0; i<7; i++) {
			for (int j=0; j<7; j++)
				if ((i==0) || (j==6) || (j==i)) System.out.print("*");
				else System.out.print(" ");
			System.out.println();
		}
	}
	
	public void  triangle4 () {
		
		for (int i=0; i<7; i++) {
			for (int j=0; j<7; j++)
				if ((i==6) || (j==6) || (j==7-i-1)) System.out.print("*");
				else System.out.print(" ");
			System.out.println();
		}
	}
	
	void num1 (){
		for (int i=0; i<3; i++) { 
			for (int j=1; j<4; j++)
			System.out.print(j);
			System.out.println();
		}
	}
		
		void num2 (){
			
			for (int i=0; i<3; i++) { 
				for (int j=3; j>0; j--)
				System.out.print(j);
				System.out.println();
			}
	}
		
	void num3 (){
			
			for (int i=1; i<4; i++) { 
				for (int j=0; j<3; j++)
				System.out.print(i);
				System.out.println();
			}
	}
	
	void num4 (){
		
		for (int i=3; i>0; i--) { 
			for (int j=0; j<3; j++)
			System.out.print(i);
			System.out.println();
		}
	}
	
					
	void print(int arr[], int l, int r){
		int i, n = 0;
		for (i=l; i<r; i++)	 
			System.out.print(arr[i]+";");
		System.out.println();
		
		if (r-l>0) {
			n=(r-l)/2;
			 if (n>l && n>0) print(arr, l, n);	
			 if (n>0) print (arr, n,r-l);
		}
	
	}
			
	

		
	    
		

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		star a = new star();
	

		System.out.println(a);
		
		
		
	//	a.test(1234567);
		
		
		


	}

}
